import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import uView from "uview-ui";
import config from "./config";
Vue.use(uView);
Vue.use(plugins)

// Create a global event bus
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$config = config;
App.mpType = 'app'

const app = new Vue({
  ...App
})
Vue.prototype.$eventBus = new Vue(); 
app.$mount()
